package com.utooo.service.exchangedata;

import com.utooo.enums.ApiEnum;
import com.utooo.pojo.dto.exchangedata.RequestResultDto;

import java.util.Map;

public interface ExchangeDataService {

    /**
     * 获取token
     * @return
     */
    Map<String, String> getTokenHeaderMap();

    /**
     * 调用享佳接口
     * @param apiEnum
     * @param params
     * @param headers
     * @return
     */
    RequestResultDto exchangeDate(ApiEnum apiEnum, Map<String, String> params, Map<String, String> headers);
}
